/**
 * @program: 11.3.1
 * @description:
 * @author: 李鑫月
 * @create: 2021-11-04 22:47
 **/
public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(0,1);
        myArrayList.add(0,2);
        myArrayList.add(0,3);
        myArrayList.add(0,4);
        myArrayList.add(0,5);
        myArrayList.add(0,16);
        myArrayList.add(0,7);
        myArrayList.display();
        System.out.println(myArrayList.contains(7));
        System.out.println(myArrayList.size());



    }

}
